package file;

import java.io.File;

//创建目录和多级目录
public class Demo3 {
    public static void main(String[] args) {
        File file1 = new File("./test");
        boolean result1 = file1.mkdir();
        System.out.println(result1);

        File file2 = new File("./test1/111/222/333");
        boolean result2 = file2.mkdirs();
        System.out.println(result2);

    }
}
